Multiple User Logger is a simple extension/INIT that keeps track of the logins and logouts of the various users on a computer running Mac OS 9.0.x with Apple's Multiple Users control panel enabled. Multiple User Logger creates and updates a SimpleText log file that records the name of each user and the times that he or she logged in and out.
INSTALLATION
To install and use Multiple User Logger, drag it to the Extensions Folder of your active System Folder and restart. To stop using Multiple User Logger, remove it from your Extensions Folder and restart. When Multiple User Logger is installed, you may temporarily stop it from working (and later start it working again) by sending it AppleScript commands. See the APPLESCRIPT section below.
PREFERENCES
In its default configuration, Multiple User Logger creates a file named "Multiple Users Logfile" on the owner's desktop (not visible to other users), and produces entries that look like this:
10/4/00 10:37:21 PM: The owner logged in.
10/4/00 10:57:32 PM: The owner logged out.
10/4/00 11:02:41 PM: User “Christine” logged in.
10/4/00 11:39:43 PM: User “Christine” logged out.
The name of the log file, its location, and the two phrases "logged in" and "logged out" can be changed by opening the extension file in ResEdit or in another resource editor and editing the entries in the 'MÜ∑R' 0 resource. The four-character code for the desktop is "sdsk" (which is the default location). The codes for other common locations include: "macs" for the System Folder, "amnu" for the Apple Menu Items Folder, "ctrl" for the Control Panels Folder, and "pref" for the Preferences Folder.
APPLESCRIPT
Using AppleScript, the owner of the machne can instruct Multiple User Logger to temporarily stop logging or, if logging is already stopped, to start logging again. The commands for doing this are 'stop multiple user logging' and 'start multiple user logging', respectively. Also, the command 'multiple user logging' returns a true or false value that indicates whether logging is currently active. To compile scripts containing these commands, place the "Multiple User Addition" scripting addition file in the Scripting Additions Folder of the active System Folder. Note that the scripting addition need only be installed in order to *compile* the scripts, not to *run* them.